package cn.memorynine.consumer.model.shop.consumer;

import cn.memorynine.consumer.model.TokenModel;
import lombok.Data;

import java.util.List;

import javax.validation.constraints.NotNull;

@Data
public class SubmitOrderParam extends TokenModel {

    /**
     * 订单项列表【判空】
     */
    @NotNull(message = "订单项列表不能为空")
    private List<OrderItemList> orderItemList;

    /**
     * 收货地址aid【判空】
     */
    @NotNull(message = "订单地址aid不能为空")
    private String addressAid;

}